<template>
  <div id="app">

     <router-view></router-view>
    
  </div>
</template>

<script>
import userApi from './api/userApi'

export default {
   methods: {
     fetch(){
       userApi.checkName("杨某").then(res =>{

       })
     }
   },
   created() {
     this.fetch();
   },
   components:{
  
   }
}
</script>
<style lang="scss">



*{
  margin: 0;
  padding: 0;
}
</style>
